add to tsconfig.json { ... "resolveJsonModule": true } }
declare module "*.json" { const value: any; export default value; }